package org.raymond.iworks.study.basic.designpattern.facade;

/**
 * @author raymond
 * @version V1.0
 * @Description: TODO
 */
public class DVDPlayer {
    private DVDPlayer(){}
    private final static class Holder {
        private final static DVDPlayer instance = new DVDPlayer();
    }
    public static DVDPlayer getInstance(){
        return Holder.instance;
    }

    public void on(){
        System.out.println("dvd on");
    }
    public void off(){
        System.out.println("dvd off");
    }
    public void play(){
        System.out.println("dvd play");
    }
    public void pause(){
        System.out.println("dvd pause");
    }
    public void setdvd(){
        System.out.println("dvd setdvd");
    }
}
